<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p {
            display: inline;
        }
        em {
            display: block;
        }
    </style>
</head>
<body>
    <p>This is a paragraph with <em>an inline element</em> within it.</p>
</body>
</html>